object FmCariKartListesi: TFmCariKartListesi
  Left = 132
  Top = 165
  Width = 870
  Height = 500
  Caption = 'Cari Kart Listesi'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnClose = FormClose
  OnCreate = FormCreate
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object Panel1: TPanel
    Left = 0
    Top = 440
    Width = 862
    Height = 33
    Align = alBottom
    TabOrder = 0
    object bKapat: TButton
      Left = 784
      Top = 5
      Width = 72
      Height = 23
      Caption = 'Kapat'
      TabOrder = 0
      OnClick = bKapatClick
    end
    object Bsec: TButton
      Left = 707
      Top = 5
      Width = 72
      Height = 23
      Caption = 'Se'#231
      TabOrder = 1
    end
  end
  object cxgrid1: TcxGrid
    Left = 0
    Top = 0
    Width = 862
    Height = 440
    Align = alClient
    Font.Charset = TURKISH_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'Arial'
    Font.Style = []
    ParentFont = False
    TabOrder = 1
    LookAndFeel.Kind = lfUltraFlat
    LookAndFeel.NativeStyle = True
    object cxgrid1DBTableView1: TcxGridDBTableView
      OnDblClick = cxgrid1DBTableView1DblClick
      OnKeyDown = cxgrid1DBTableView1KeyDown
      NavigatorButtons.ConfirmDelete = False
      OnCellClick = cxgrid1DBTableView1CellClick
      DataController.DataModeController.GridMode = True
      DataController.DataSource = DSCariListesi
      DataController.Filter.Active = True
      DataController.Filter.AutoDataSetFilter = True
      DataController.Options = [dcoAnsiSort, dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding]
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.IncSearch = True
      OptionsData.CancelOnExit = False
      OptionsData.Deleting = False
      OptionsData.DeletingConfirmation = False
      OptionsData.Editing = False
      OptionsData.Inserting = False
      OptionsSelection.UnselectFocusedRecordOnExit = False
      OptionsView.Indicator = True
      Styles.StyleSheet = dm.tvssDevExpress
      object cxgrid1DBTableView1aktif: TcxGridDBColumn
        Caption = 'Aktif'
        DataBinding.FieldName = 'aktif'
        SortIndex = 0
        SortOrder = soAscending
        Width = 46
      end
      object cxgrid1DBTableView1carikodu: TcxGridDBColumn
        Caption = 'Carikodu'
        DataBinding.FieldName = 'carikodu'
        Width = 126
      end
      object cxgrid1DBTableView1firmaadi: TcxGridDBColumn
        Caption = 'Firma Ad'#305
        DataBinding.FieldName = 'firmaadi'
        Width = 230
      end
      object cxgrid1DBTableView1sehir: TcxGridDBColumn
        Caption = #350'ehir'
        DataBinding.FieldName = 'sehir'
      end
      object cxgrid1DBTableView1temsilcisi: TcxGridDBColumn
        Caption = 'Temsilcisi'
        DataBinding.FieldName = 'temsilcisi'
        Width = 74
      end
      object cxgrid1DBTableView1Tipi: TcxGridDBColumn
        Caption = 'Cari T'#252'r'#252
        DataBinding.FieldName = 'Xtipi'
        Width = 84
      end
      object cxgrid1DBTableView1ozelkod1: TcxGridDBColumn
        Caption = #214'zel Kod 1'
        DataBinding.FieldName = 'ozelkod1'
        Width = 78
      end
      object cxgrid1DBTableView1ozelkod2: TcxGridDBColumn
        Caption = #214'zel Kod 2'
        DataBinding.FieldName = 'ozelkod2'
        Width = 76
      end
      object cxgrid1DBTableView1kargosu: TcxGridDBColumn
        Caption = 'Kargo'
        DataBinding.FieldName = 'kargosu'
        Width = 101
      end
      object cxgrid1DBTableView1kargoodeme: TcxGridDBColumn
        Caption = 'Kargo '#214'deme'
        DataBinding.FieldName = 'kargoodeme'
        Width = 92
      end
      object cxgrid1DBTableView1Guzergahkod: TcxGridDBColumn
        Caption = 'G'#252'zergah'
        DataBinding.FieldName = 'Guzergahkod'
        Width = 77
      end
    end
    object cxgrid1Level1: TcxGridLevel
      GridView = cxgrid1DBTableView1
    end
  end
  object adoCariListesi: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select  top 10 *,'
      'Xtipi=(select adi from carituru where id=cari.tipi),'
      'XKargosu=(select ad from tbl_kargotanim where ID=Cari.Kargosu),'
      
        'XGuzergahKod=(select aciklama from Guzergah where guzergahkod=ca' +
        'ri.guzergahkod),'
      '(case KargoOdeme '
      ' when '#39'1'#39' then '#39'Pe'#351'in '#214'deme'#39
      ' else '#39#220'cret Al'#305'c'#305#39' End) as XKargoOdeme'
      ''
      ' from cari order by carikodu')
    Left = 88
    Top = 360
  end
  object DSCariListesi: TDataSource
    DataSet = adoCariListesi
    Left = 16
    Top = 360
  end
end
